// To parse this JSON data, do
//
//     final programTypesResult = programTypesResultFromJson(jsonString);

import 'dart:convert';

List<ProgramTypesResult> programTypesResultFromJson(String str) =>
    List<ProgramTypesResult>.from(
        json.decode(str).map((x) => ProgramTypesResult.fromJson(x)));

String programTypesResultToJson(List<ProgramTypesResult> data) =>
    json.encode(List<dynamic>.from(data.map((x) => x.toJson())));

class ProgramTypesResult {
  String? programName;
  String? displayName;
  int? orderNumber;

  ProgramTypesResult({
    this.programName,
    this.displayName,
    this.orderNumber,
  });

  factory ProgramTypesResult.fromJson(Map<String, dynamic> json) =>
      ProgramTypesResult(
        programName: json["programName"],
        displayName: json["displayName"],
        orderNumber: json["orderNumber"],
      );

  Map<String, dynamic> toJson() => {
        "programName": programName,
        "displayName": displayName,
        "orderNumber": orderNumber,
      };
}
